#ifndef	COLOR_H
#define	COLOR_H
#include "car.h"

#define BASE 0
#define COLOR_GAP 32

#define RED		2
#define	GREEN	1
#define	BLUE	2
#define	WHITE	2
#define	YELLOW	2

extern volatile unsigned char to_detect;
extern volatile unsigned char refreshed;
extern volatile char restart;

void set_point_to_detect(unsigned char detect);
char get_color(unsigned char point);
void refresh(unsigned char detect);




#endif
